#include <iostream>
#include "master.h"
#include "./trigger/triggernode.h"
#include <unistd.h>
using namespace std;

int main()
{
    int ret = 0;
    MASTER *master = new MASTER();
    ret = master->start();
    if(ret < 0){
        return ret;
    }
    while(1){
        sleep(1);
    }
    return ret;
}